package com.etc.doctor.mapper;

import com.etc.common.entity.BasicDoctor;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

@Mapper
public interface LoginAndRegisterMapper {
    BasicDoctor queryDoctorByUserName(String userName);

    int insert(BasicDoctor doctor);

    BasicDoctor queryDoctor(@Param("username") String username, @Param("password") String password);
}
